
package com.yq.generic;

/**
 * Simple to Introduction
 * className: MainDemo
 *
 * @author YangQian
 * @version 2018/4/20 14:38
 */
public class MainDemo {
    public static void main( String... args ) throws Exception
    {
        String[] filter = {"dictName:"};
        if (filter != null && filter.length != 0) {
            String dictName = "dictName:";
            for (String str : filter) {
                int index = str.indexOf(dictName);
                if (index != -1) {
                    String propertyValues = str.substring(dictName.length());
                    String [] params = propertyValues.split("\\|");
                    if(params.length <1){
                        continue;
                    }
                    String retrieveCql = " AND dc.dictName IN " + params;
                    System.out.println("retrieveCql");
                    break;
                }
            }
        }
    }


}
